﻿using System;
using DBA.Common;
using System.Collections;
using System.Collections.Generic;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    Sys_RoleInfo
    ///开发者      :    
    ///建立时间    :    2012-08-22 13:49:29
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012-08-22 13:49:29
    /// </summary>
        [OrmPropertyAttribute(TableName = "Sys_RoleInfo",PrimaryKey = "RoleID",PrimaryKeyType = "IDENTITY",ParameterType = "int")]
    public class Sys_RoleInfo
    {
        #region 构造函数
        public Sys_RoleInfo(){}
        
        public Sys_RoleInfo(int RoleID,string RoleName,string RoleRemark)
        {
           this._RoleID = RoleID;
           this._RoleName = RoleName;
           this._RoleRemark = RoleRemark;

        }
        #endregion
        
        #region 成员
        private int _RoleID;
        private string _RoleName;
        private string _RoleRemark;
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int RoleID
        {
            get { return _RoleID; }
            set { _RoleID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 100,IsNull = "0")]
        public virtual string RoleName
        {
            get { return _RoleName; }
            set { _RoleName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 400,IsNull = "0")]
        public virtual string RoleRemark
        {
            get { return _RoleRemark; }
            set { _RoleRemark = value; }
        }
        #endregion
    }
}